#define _CRT_SECURE_NO_WARNINGS 1
#include "DList.h"

void TestDList1()
{
	DListNode* phead = CreateDListNode(0);

	DListInsert(phead, 1);
	DListInsert(phead, 2);
	DListInsert(phead, 3);
	DListInsert(phead, 4);
	DListInsert(phead, 5);

	DListErase(phead->_next);
	DListErase(phead->_next);
	DListErase(phead->_next);
	DListErase(phead->_next);
	DListErase(phead->_next);
	//DListErase(phead->_next);


	
	DListPrint(phead);
}

int main()
{

	TestDList1();

	return 0;
}